OTP\Objects\FormHandler A

Total Complexity 53
Dependencies 7
Dependents 0
Total lines 563
Lines of code 160
Logical lines of code 71
Comment lines 292
Methods 36
Properties 32

Methods 36

Method Rating Maintainability Complexity Lines of code
__construct()
S
50 7 26
sanitize_form_post()
S
66 4 7
is_login_or_social_form()
S
77 3 3
basic_validation_check()
S
68 3 7
validate_ajax_request()
S
64 2 11
is_ajax_form_in_play()
S
79 2 3
get_verification_type()
S
66 2 8
get_phone_key_details()
S
69 2 7
send_challenge()
S
62 1 14
mo_otp_alphanumeric_script()
S
63 1 11
mo_autofill_script_load()
S
72 1 5
validate_challenge()
S
79 1 3
ajax_processing_fields()
S
67 1 8
get_phone_html_tag()
S
86 1 2
get_email_html_tag()
S
86 1 2
get_both_html_tag()
S
86 1 2
get_form_key()
S
86 1 2
get_verify_field_key()
S
86 1 2
get_form_name()
S
86 1 2
get_otp_type_enabled()
S
86 1 2
disable_auto_activation()
S
86 1 2
get_phone_key_option_name()
S
82 1 3
get_email_key_details()
S
86 1 2
is_form_enabled()
S
86 1 2
get_button_text()
S
84 1 2
get_button_css()
S
84 1 2
get_verify_button_text()
S
84 1 2
get_enter_otp_field_text()
S
84 1 2
get_form_details()
S
86 1 2
restrict_duplicates()
S
86 1 2
bypass_for_logged_in_users()
S
86 1 2
get_is_login_or_social_form()
S
85 1 2
get_form_option()
S
86 1 2
is_ajax_form()
S
86 1 2
is_add_on_form()
S
86 1 2
get_form_documents()
S
86 1 2